package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.TransportPurchaseInventoryDTO;
import com.hunttown.mes.rpc.domain.query.TransportPurchaseInventoryDTOQuery;

/**
 * created by wangjunfu on 2019-12-24 15:52:00
 */
public interface TransportPurchaseInventoryRpcService {

    TransportPurchaseInventoryDTO insert(TransportPurchaseInventoryDTO transportPurchaseInventoryDTO);

    Boolean updateInfoById(TransportPurchaseInventoryDTO transportPurchaseInventoryDTO);

    Boolean updateInfoByQuery(TransportPurchaseInventoryDTOQuery transportPurchaseInventoryDTOQuery);

    TransportPurchaseInventoryDTO selectById(Integer id);

    TransportPurchaseInventoryDTO selectObjByQuery(TransportPurchaseInventoryDTOQuery transportPurchaseInventoryDTOQuery);

    Page<TransportPurchaseInventoryDTO> getListForPage(TransportPurchaseInventoryDTOQuery transportPurchaseInventoryDTOQuery);

    Boolean deleteById(Integer id);
}